package org.blade.startup;

import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;


@ComponentScan( basePackages = {"org.blade"} )
@EnableEurekaClient
@SpringBootApplication
public class ApplicationStartUp implements CommandLineRunner{

	@Override
	public void run(String... arg0) throws Exception {
		// TODO Auto-generated method stub
		
	}
	
	public static void main(String[] args) {
		SpringApplication springApplication  =new SpringApplication(ApplicationStartUp.class);
		//springApplication.addListeners(new ApplicationStartUp());
		springApplication.run(args);
	}
	
}
